<link href="../addons/jy_yiliao/resource/css/weui.css" rel="stylesheet">
<link href="../addons/jy_yiliao/resource/css/zan.css" rel="stylesheet">
<link href="../addons/jy_yiliao/resource/css/yuyue.css" rel="stylesheet">
<style>

        html,
        body {
            position: static;
            height: auto;
            -webkit-overflow-scrolling: touch;
        }

        .weui-cell:before {
            border: none;
            left: 0;
        }

        .his-calendar {
            margin-bottom: 10px;
        }

        .his-calendar .his-calendar-table caption.calendar-caption .caption-title.caption-sub-title {
            display: none;
        }

        .area-selector, .hospital-selector, .date-selector {
            position: relative;
            font-size: 12px;
        }

        .select-btn.red-color:after {
            border-color: #c03e3e;
        }

        .area-selector:after, .hospital-selector:after, .date-selector:after {
            content: " ";
            display: inline-block;
            height: 6px;
            width: 6px;
            border-width: 0 1px 1px 0;
            border-color: #C8C8CD;
            border-style: solid;
            -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
            position: absolute;
            top: 50%;
            margin-top: -4px;
            right: 2px;
        }

        #listBorder .weui-cells:before, #listBorder .weui-cells:after {
            height: 0;
            border: none;
        }

        .his-calendar .his-calendar-table td.calendar-day {
            height: 36px;
        }

        .his-calendar .his-calendar-table caption.calendar-caption, .his-calendar .his-calendar-table .calendar-day.calendar-unvalid.active {
            background: #dbab7c;
            color: #fff;
        }
    
</style>
<div class='fui-page fui-page-current'>
	<div class="his-head" style="border-bottom: solid 1px #f2f2f2;">
	<div class="weui-search-bar no-before-line no-after-line" id="searchBar">
        <form id="searchForm" class="weui-search-bar__form">
            <div ng-click="pagedata.showinput=true" class="weui-search-bar__box">
                <input type="text" class="weui-search-bar__input" value="{{pagedata.params.keyword}}" placeholder="搜索大夫、病症">
            </div>
            <label ng-if="pagedata.params.keyword" class="weui-search-bar__label">
                <span>{{pagedata.params.keyword}}</span>
            </label>
        </form>
        <a ng-if="pagedata.showinput" href="javascript:" ng-click="pagedata.showinput=false" style="line-height:36px;padding-left:5px">取消</a>
    </div>
    </div>
<div class="pull-wrapper" style="position: static; padding-top: 70px;">
	<div class="pull-border" style="position: static;">
		<div ng-repeat="item in pagedata.list" class="doctor doctor-item weui-cell">
			<div class="his-flex his-align-top">
			<img ng-src="{{tomedia(item.headimg) || '../core/resource/images/nopic.jpg'}}" class="his-flex-unshrink" style="width: 48px;height: 48px;border-radius: 50%;">
			<div class="his-flex-grow marginLeft8" style="line-height: 1;margin-top: 4px;">
			<div class="his-flex">
			<div class="" style="width: 100%;">
			<div class="fontBold deep-color font17 marginBottom10">{{item.name}}大夫</div>
			<div class="light-color font13">
			<span style="vertical-align: middle;">近90日诊量 线下3056，线上401</span>
			<span class="his-spliter gray-background" style="margin: 0 8px;"></span>
			<span style="vertical-align: middle;">好评率99%</span>
			</div>
			</div>
			<div class="more"></div>
			</div>
			<div class="font13 light-color textline1 marginTop10 marginBottom10">{{item.storetitle}}</div>
			<div class="his-flex his-align-bottom">
			<div class="illness-view" style="max-height: 23px;overflow: hidden;">
			<span ng-repeat="l in item.label" class="illness-item">{{l.title}}</span>
			</div>
			<button href="javascript:" ng-click="access_json('jy_yiliao/yuyue//workerid='+item.id)" type="button" class="appointment his-button marginLeft10" style="margin-top: -5px;">预约门诊</button>
			</div>
			</div>
			</div>
		</div>
	<script type="text/javascript">
	scope.pagedata.get_list=function(){
		scope.tool.get_list('jy_yiliao/yuyue_worker/getlist/',true);
	}
	scope.pagedata.get_list();
	scope.pagedata.scroll_bottom=function(){
		scope.tool.get_list('jy_yiliao/yuyue_worker/getlist/');
	}
	</script>
	</div>
	<div ng-if="!pagedata.list || pagedata.list.length==0" class="his-center">
					<img style="height:5rem" src="../addons/jy_yiliao/resource/images/nvhai.png"/>
					<div style="font-size:0.7rem;line-height:1.3rem">还未看诊，寻找合适的医生</div>
					<a style="font-size:0.7rem;color:#C03E3E" href="javascript:" ng-click="access_json('jy_yiliao/worker_list//')">点这里找名医 >></a>
	</div>
</div>
</div>
<div ng-include="sys_html('common/pluginnav',true)"></div>
<script type="text/javascript">
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
</script>